package com.yunhe.dao;

import com.yunhe.enity.Course;

import java.util.ArrayList;
import java.util.List;

public interface CourseDao {
    int addCourse(Course course);

    List<Course> findCount(String sql, ArrayList<Object> courses);

    List<Course> findByLimit(String sql, ArrayList<Object> courses, int cpage, int size);

    int deleteAll(String cid);

    int updateCourse(Course course);

    Course findCourByid(Course course);
}
